<?php

namespace App\Http\Middleware;

use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;

class VerifyCsrfToken extends BaseVerifier
{
    /**
     * The URIs that should be excluded from CSRF verification.
     *
     * @var array
     */
    protected $except = [
        // 禁用csrf 验证控制器
        'admin/admin/upload',
        'admin/admin/addAdminPost',
        'admin/admin/delAdmin',
        'admin/role/*',
        'admin/permission/*',
        'admin/articleCate/*',
        'admin/article/*',
        'admin/member/*',

        //前端接口
        'home/*',

    ];
}
